<div class="details" ng-init="init()">
  <div class="details-list">
  </div>
  <div class="details-title">
    <span ng-bind="run_details.income_balance||'--'" ng-class="{'global_color_red':run_details.income_balance>=0,'global_color_green':run_details.income_balance<0}"></span>
    <span class="global_color_gray">浮动盈亏</span>
  </div>
  <div class="details-float" style="border-top:1px solid #d0cdc7;">
    <div class="details-data">
      <span>买入价</span>
      <span ng-bind="run_details.open_price+' 元/股'"></span>
    </div>
    <div class="details-data">
      <span>数量</span>
      <span ng-bind="run_details.open_amount+' 股'"></span>
    </div>
    <div class="details-data">
      <span>金额</span>
      <span ng-bind="run_details.open_balance+' 元'"></span>
    </div>
    <div class="details-data">
      <span>买入时间</span>
      <span ng-bind="run_details.open_time"></span>
    </div>
    <div class="details-btn" style="justify-content: space-around;">
      <button ng-show="sell_button" ng-click="cover()" type="button" class="btn">发出卖出指令</button>
      <button ng-show="tjd_button" ng-click="go_condition()" type="button" class="btn">添加条件单</button>
      <button ng-show="diyan_button" ng-click="defer()" type="button" class="btn">申请延期</button>
    </div>
  </div>
  <div class="details-float" style="border-top:1px solid #d0cdc7;">
    <div class="details-ce">
      <span>策略｜<span ng-bind="run_details.product_name"></span></span>
      <div style="width:100%">
        <span>协议编号：<span   style="color:blue" ui-sref="hezuo-agree({data:run_details})" ng-bind="run_details.contract_no" ></span></span>
        <span style="color:red;float:right" ui-sref="hezuo-agree({data:run_details})">查看协议</span>
      </div>
    </div>
    <div class="details-data">
      <span>策略执行金</span>
      <span ng-bind="run_details.strategy_name"></span>
    </div>
    <div class="details-data">
      <span>履约保证金</span>
      <span ng-bind="run_details.deposit_balance+' 元'"></span>
    </div>
    <div class="details-data">
      <span>综合服务费</span>
      <span ng-bind="run_details.synthesize_fare+' 元'"></span>
    </div>
    <div class="details-data">
      <span>延期费单价</span>
      <span ng-bind="run_details.defer_fare+' 元/次'"></span>
    </div>
    <div class="details-data">
      <span>止盈</span>
      <span ng-bind="run_details.profit_price+' 元/股'"></span>
    </div>
    <div class="details-data">
      <span>止损</span>
      <span ng-bind="run_details.deficit_price+' 元/股'"></span>
    </div>
    <div class="details-data">
      <span>策略到时</span>
      <span ng-bind="run_details.force_close_date"></span>
    </div>
  </div>
</div>